import React,{Component} from "react";
import { useNavigate } from "react-router-dom";
import "./App.css"









export default function App(){
    const getNav=useNavigate()
    const sou=()=>{
        getNav('/sou')
    }


    return(
        <div>
            <input placeholder="搜索" onClick={()=>{sou()}}></input>



        </div>
    )
}